
<?php include_once(dirname(__FILE__) . '/../general/head.php'); ?>

<div class="container">

    <div class="row">
        <div class="col-md-4 col-md-offset-4">
            <div style="text-align: center; margin-top: 20px;">
                <img src="<?php echo base_url(); ?>images/logo_90.jpg" alt="Fonterra Logo" />
            </div>
            <div class="login-panel panel panel-default" style="margin-top: 10px;"> 

                <div class="panel-heading">
                    <h3 class="panel-title">Quên mật khẩu</h3>
                </div>
                <div class="panel-body">
                    <?php
                    if (isset($message) && $message != '') {
                        ?>
                        <div class="has-<?php echo $messageType; ?>">
                            <label class="control-label">
                                <?php echo $message; ?>
                            </label>
                        </div>
                    <?php } ?>
                    <form role="form" method="post" action="<?php echo base_url(); ?>index.php/forgot_password" accept-charset="utf-8">
                        <input type="hidden" name="Command" id="Command" value="Submit" />
                        <fieldset>
                            <div class="form-group <?php echo (form_error('email') != '' ? 'has-error' : ''); ?>">
                                <?php print(form_error('email', '<label class="control-label" for="inputError">', '</label>')); ?>
                                <input class="form-control" placeholder="Email" id="email" name="email" type="text" autofocus>
                            </div>
<!--                            <div class="form-group <?php echo (form_error('password') != '' ? 'has-error' : ''); ?>">
                            <?php print(form_error('password', '<label class="control-label" for="inputError">', '</label>')); ?>
                                <input class="form-control" placeholder="Mật khẩu" id="password" name="password" type="password" value="">
                            </div>-->
                            <!--                            <div class="checkbox">
                                                            <label>
                                                                <input name="remember" type="checkbox" value="Remember Me">Remember Me
                                                            </label>
                                                        </div>-->
                            <a href="<?php echo site_url('login'); ?>">Quay lại trang đăng nhập</a>
                            <br/><br/>
                            <!-- Change this to a button or input when using this as a form -->
                            <input type="submit" class="btn btn-lg btn-success btn-block" value="Xác nhận" />
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>



<!--    <div class="homed">
    <center>
        <h2><?php echo $organization_name; ?></h2>
        <table id="detail" style="width:600px;">
            <tr>
                <td class="logd">   
                    <h1>Canh Cong Thien Duong</h1> 
                </td>
                <td rowspan="5" valign="top">
                    <img src="<?php echo base_url(); ?>logo/<?php echo $logo; ?>" title="Add new">
                </td>

            </tr>
            <tr>
                <td>
<?php
echo validation_errors();
if ($Message) {
    echo $Message;
}
?>
<?php echo form_open('login/'); ?>
                    <form method="post" action="http://demo.ipartner.vn/hrsoft/index.php/login">
                        <input type="hidden" name="Command" id="Command" value="Login" />
                    Username:
                    <input type="text" size="20" id="username" name="username" autocomplete="off"/>
                </td>

            </tr>
            <tr>
                <td > 
                    Password:
                    <input type="password" size="20" id="passowrd" name="password" autocomplete="off"/>
                </td>
            </tr>
            <tr>
                <td> 
                    <input type="submit" value="Login"/>
                    </form>
                </td>
            </tr>
        </table>
</div>-->
</body>
</html>